<%@page import="java.util.Date"%>
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
	pageEncoding="ISO-8859-1"%>
<%@taglib uri="/struts-tags" prefix="s"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<script src="datetimepicker/datetimepicker_css.js"></script>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Student management</title>
</head>
<body>
	<h1>Struts 2 Full Hibernate Plugin example</h1>

	<h2>Add Student</h2>
	<s:form action="addStudentAction">

		<s:textfield name="studentName" label="Name" value="" />

		<s:textfield name="address" label="Address" value="" cols="50"
			rows="5" />

		<s:textfield name="email" label="Email" value="" cols="50" rows="5" />


		<s:textfield name="dateOfBirth" label="Date of Birth" value=""
			cols="50" rows="5" id="date"/>
		<tr >
			<td><img alt="" src="datetimepicker/images2/cal.gif"
				onclick="javascript:NewCssCal('date')" style="cursor: pointer" /></td>
		</tr>
		<s:select label="Class" headerKey="-1" headerValue="Select Class"
			name="className" list="listClass"></s:select>


		<s:submit />

	</s:form>

	<br />
</body>
</html>